﻿/*
 * KLF Headless Browser
 * Written by Kris Oye <kristianoye@gmail.com>
 * Copyright (C) 2011-2012.  All rights reserved.
 */
namespace KLF.Lib.Browser.DOM.TypedArray
{
    public interface ITypedArray<T> : IArrayBufferView
    {
        int length { get; }
        T get(int index);
        void set(int index, T value);
        T this[int index] { get; set; }
        ITypedArray<T> subarray(int begin);
        ITypedArray<T> subarray(int begin, int end);
    }
}
